/*
 *
 * Template Name: Flat Contact Form
 * Description: Flat Contact Form
 * Author: Anli Zaimi
 * Author URI: http://azmind.com
 *
 */


body {
    background: #eee;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}

::-moz-selection { background: #f8cc37; color: #4b2813; text-shadow: 0 2px 0 #fce653; }
::selection { background: #f8cc37; color: #4b2813; text-shadow: 0 2px 0 #fce653; }

.page-container {
    margin: 0 auto;
    padding: 60px 0 20px 0;
}

.contact-us {
    position: relative;
    width: 400px;
    margin: 0 auto;
    background: #fbefbf;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.contact-us h1 {
    height: 80px;
    margin-bottom: 30px;
    background: #e67632;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-family: 'Patua One', cursive;
    font-size: 30px;
    color: #f8f8f8;
    text-transform: uppercase;
    line-height: 80px;
    text-align: center;
    text-shadow: 0 3px 0 #e15e28;
}

.contact-us input {
    width: 302px;
    height: 38px;
    margin: 0 0 20px 30px;
    padding: 0 18px;
    background: #fffbec;
    border: 1px solid #fffbec;
    -moz-box-shadow: 0 5px 0 0 #faedb5;
    -webkit-box-shadow: 0 5px 0 0 #faedb5;
    box-shadow: 0 5px 0 0 #faedb5;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #cc9471;
    outline: none;
}

.contact-us input:-moz-placeholder { color: #cc9471; }
.contact-us input:-ms-input-placeholder { color: #cc9471; }
.contact-us input::-webkit-input-placeholder { color: #cc9471; }

.contact-us textarea {
    width: 302px;
    height: 92px;
    margin: 0 0 20px 30px;
    padding: 10px 18px 0 18px;
    background: #fffbec;
    border: 1px solid #fffbec;
    -moz-box-shadow: 0 5px 0 0 #faedb5;
    -webkit-box-shadow: 0 5px 0 0 #faedb5;
    box-shadow: 0 5px 0 0 #faedb5;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #cc9471;
    outline: none;
}

.contact-us textarea:-moz-placeholder { color: #cc9471; }
.contact-us textarea:-ms-input-placeholder { color: #cc9471; }
.contact-us textarea::-webkit-input-placeholder { color: #cc9471; }

.contact-us button {
    width: 400px;
    height: 70px;
    margin-top: 14px;
    padding: 0;
    background: #f8cc37;
    border: 0;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    cursor: pointer;
    font-family: 'Patua One', cursive;
    font-size: 24px;
    color: #4b2813;
    text-transform: uppercase;
    line-height: 70px;
    text-align: center;
    text-shadow: 0 2px 0 #fce653;
}

.contact-us button:hover {
    background: #e67632;
    color: #f8f8f8;
    text-shadow: 0 3px 0 #e15e28;
}

.contact-us input:focus,
.contact-us textarea:focus {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.contact-us input,
.contact-us textarea,
.contact-us button {
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
}

.contact-us p {
    margin: 0 30px;
    padding-bottom: 30px;
    font-size: 15px;
    color: #cc9471;
    line-height: 30px;
}

.error {
    display: none;
    position: absolute;
    left: 390px;
    height: 44px;
    padding: 0 25px;
    background: #f8cc37;
    font-size: 15px;
    color: #4b2813;
    font-style: italic;
    line-height: 44px;
    white-space: nowrap;
    text-shadow: 0 2px 0 #fce653;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.error::before {
    content: '';
    position: absolute;
    top: 17px;
    left: -15px;
    border: 5px solid rgba(248, 204, 55, 0);
    border-right: 10px solid #f8cc37;
}


